var clubMsg = {} ;
clubMsg.Debug = true ;

/**
 * 显示俱乐部提示框
 * @param {String} content
 * @param {Function} [ok]
 * @param {Function} [cancel]
 * */
var showClubAlert = function (content, ok, cancel) {
    // var clubAlert = new ClubAlert(content, ok, cancel);
    // cc.director.getRunningScene().addChild(clubAlert);
    if(cancel == undefined){
        showAlert(content, ok);
    }else{
        showMessageBox(content,ok,cancel);
    }
};



clubMsg.getClubList = 8001 ;  //获取俱乐部列表
clubMsg.msg_8001 = {"code":8001,"data":{"msg":"","clublist":[{"_id":28,"admins":[29],"create_time":"2019-04-29 20:39:14","head":"res/image/defaultHead.jpg","id":28,"members":[{"head":"res/image/defaultHead.jpg","name":"游客1211","uid":29}],"name":"123","nick":"游客1211","notice":"欢迎","owner_uid":29,"players":[29],"players_count":1,"room_cnt":0,"updateTime":"2019-04-29 20:39:14"}]},"errorCode":0}

clubMsg.createClub = 8002 ;  //创建俱乐部    创建成功要及时再发一条 8001  刷新俱乐部列表 
clubMsg.msg_8002 = {"code":8002,"data":{"msg":"创建俱乐部成功"},"errorCode":0}

clubMsg.joinClub = 8003 ;  //加入俱乐部   
clubMsg.msg_8003 = {"code":8003,"data":{"msg":"申请俱乐部成功"},"errorCode":0}